package edu.sctu.zcy.month201506.day20150628test;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

/**
 * Created by user24 on 2015/6/28.
 */
public class ProgramEntry {

    public static void main(String[] args) {
//
//获取网络数据
       new HttpPostUtil().start();
//把数据存储到Json.txt
        try {
            Thread.sleep(6000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        FileUtil fileUtil = new FileUtil(FilePath.PATH,FilePath.SUB_PATH_ONE,FilePath.SUB_PATH_TWO);
        fileUtil.saveJsonDataToJsonTxt();
//Json转换为实体类，并将实体类保存至D盘Json文件夹下的Appbean.txt
     fileUtil.saveJsonDataToAppBean();
////得到商品数量
     new GetGoodsCount().getCount(fileUtil.getAppBean());

    }
}
